package 创建型模式.单例模式;

public class LazySaveSingleton {
	private static LazySaveSingleton instance;

	private LazySaveSingleton() {
	}

	public synchronized static LazySaveSingleton getInstance() {
		if (instance == null) {
			instance = new LazySaveSingleton();
		}
		return instance;
	}
}